<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>

<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<!DOCTYPE html>
<html>
  <head>
 <title>商品添加表</title>
    
	<meta http-equiv="pragma" content="艺博客，装点生活">
	<meta http-equiv="cache-control" content="艺博客为书画爱好者提供服务平台">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<link href="css/form.css" rel="stylesheet">
	
<script type="text/javascript" src="js/jqueryb.js"></script>
 
<script type="text/javascript">
	/* $(document).ready(function(){
  		$(".click1").click(function(){
   window.location.href="hproductadd.jsp";
  }); */

  </script>
</head>

<body class="white-pink">
<div>
    
    <form  action="${pageContext.request.contextPath}/hproductadd.do" method="get"  enctype="multipart/form-data"   class="STYLE-NAME">
    <h1>商品添加表
    <span>为了用户体验，请仔细审查</span>
    </h1>
	<label>
    <span> 商品名称:</span>
    <input id="name" type="text" name="p_name" placeholder="商品名称" />
    </label>
    <label>
    <span>商品作者:</span>
    <input id="name" type="text" name="p_author" placeholder="作者" />
    </label>
    <label>
    <span>商品描述:</span>
    <input id="name" type="text" name="p_intro" placeholder="简介" />
    </label>
	<label>
    <span>商品价格:</span>
    <input id="name" type="text" name="p_price" placeholder="商品价格" />
    </label>
    <label>
    <span>商品数量:</span>
    <input id="name" type="text" name="p_count" placeholder="数量"/>
    </label>
    
    
    <!--实现图片的上传  -->
    <!-- <label>
    <span>商品大图:</span>
    <input id="name" type="file" name="p_bigimg" multiple/>
    </label><br> -->
    <label>
    <span>商品图片:</span>
    <input id="name" type="file" name="p_image"  multiple />
    </label><br>
    
    
    
    <label>
    <span>商品类型:</span>
    <input id="name" type="text" name="art_type" placeholder="类型" />
    </label>
   <label>
    <span>使用场所:</span>
    <input id="email" type="text" name="occations" placeholder="使用场所" />
    </label>
    <label>
    <span>商品规格:</span>
    <input id="name" type="text" name="p_size" placeholder="商品规格" />
    </label>
    
 <!--    <label>
    <span>上架时间:</span>
    <input id="name" type="text" name="shelf_time" placeholder="上架时间" />
    </label>
    <label>
    <span>下架时间:</span>
    <input id="name" type="text" name="down_time" placeholder="下架时间" />
    </label> -->
    
  <!--   <label>
    <span>已出售:</span>
    <input id="name" type="text" name="p_sale" placeholder="已出售" />
    </label> -->
    
    
    <label>
    <span>商品标记:</span>
    <input id="name" type="text" name="p_flag" placeholder="0表示下架，1表示上架" />
    </label>
    <label>
    <span>&nbsp;</span>
    <input type="submit" class="button" value="确认添加" />
   <%-- <a href="${pageContext.request.contextPath}/managehproduct.do"><input class="button" value="查看商品表" /></a> --%>
<%--     <a href="${pageContext.request.contextPath}/hproductdele.do"><input  class="button" value="删除商品表" /></a>  --%>
    </label>
   </form>
    
</div>
</body>
</html>
